<div id="wrapper">
    <!----------------------------------------- left menu content--------------------->
    <div id="left_menu">
        <!-- search  -->
        <div id="search">
            <div class="search-title">Tìm kiếm</div>
            <div class="search_form">
                <form method="post">
                    <input type="radio" id="video-radio" name="radio" value="video" checked="checked"/><label>Video</label>
                    <input type="radio" id="actors-radio" name="radio" value="actors"/><label>Diễn viên</label>
                    <br>
                    <div class="search-input">
                        <input type="text" onfocus="if(this.value=='Searching...') this.value='';" onblur="if(this.value=='') this.value='Searching...';" value="Searching..." size="100" class="inputbox" alt="Search" maxlength="100" id="mod_search_searchword" name="searchword">
                        <div class="search-button">
                             <input type="image" onclick="return search();" src="<?php echo base_url(); ?>images/searchButton.gif" class="button" />
                        </div>
                    </div>
                    <label>Thể loại</label><br/>
                    <select name="cbx_cate" class="cbx_cate" id="cbx_cate">
                        <option value="0">--Tất cả--</option>
                        <?php
                            foreach($categoryList as $value){
                                echo "<option value='" . $value['movie_category_id'] .  "'>" . $value['name'] . "</option>";
                            }
                         ?> 
                    </select>
                </form>
            </div>
        </div>
        <!-- end search -->

        <!-- categories-->
        <div id="categories">
            <div class="categories-title">Thể loại</div>
            <div class="categories_list">
                    <?php
                    foreach($categoryList as $value){
                        echo "<span onclick=\"searchCategory(" . $value['movie_category_id'] . ", 1);\" style=\"cursor:pointer;\">" . $value['name'] . "</span><br/>";
                    }
                    ?>
            </div>
        </div>
        <!-- end categories-->
        <div id="actors">
            <div class="categories-title">Diễn Viên</div>
            <div class="categories_list">
                    <?php
                    foreach($actorList as $value){
                        echo "<span onclick=\"searchActor(0, '". $value['name']. "', 1);\" style=\"cursor:pointer;\">" . $value['name'] . "</span><br/>";
                    }
                    ?>
            </div>
        </div>
    </div>
    <!------------------------------------------- left menu content-------------------->